package com.example.finalproj;

import java.io.Serializable;

public class ChatData implements Serializable{
	
	static final long serialVersionUID = 100L;
	
	static final int ACTION_LOGIN = 1;
	static final int SEND_MSG = 2;
	static final int ACTION_LOGOUT = 3;
	static final int ACTION_GONG = 4;
	static final int ACTION_DESIGNER = 91;
	static final int ACTION_DMSG = 92;
	
	
	
	private int action = 0;
	private String msg = "";
	private String fromid = "";
	private String toid = "";
	private String grade = "";
	
	
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getFromid() {
		return fromid;
	}
	public void setFromid(String fromid) {
		this.fromid = fromid;
	}
	public String getToid() {
		return toid;
	}
	public void setToid(String toid) {
		this.toid = toid;
	}
	public int getAction() {
		return action;
	}
	public void setAction(int action) {
		this.action = action;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
